package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户实名档案对象 user_profile
 * 
 * @author Jack
 * @date 2025-07-04
 */
public class UserProfile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 档案ID */
    @Excel(name = "档案ID")
    private Long id;

    /** 关联用户ID */
    @Excel(name = "关联用户ID")
    private Long userId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年收入(元) */
    @Excel(name = "年收入(元)")
    private Long annualIncome;

    /** 区县 */
    @Excel(name = "区县")
    private String county;

    /** 工作类型 */
    @Excel(name = "工作类型")
    private String jobType;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 是否有房产 */
    @Excel(name = "是否有房产")
    private Integer hasHouse;

    /** 是否有车 */
    @Excel(name = "是否有车")
    private Integer hasCar;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setAnnualIncome(Long annualIncome) 
    {
        this.annualIncome = annualIncome;
    }

    public Long getAnnualIncome() 
    {
        return annualIncome;
    }

    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }

    public void setJobType(String jobType) 
    {
        this.jobType = jobType;
    }

    public String getJobType() 
    {
        return jobType;
    }

    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }

    public void setHasHouse(Integer hasHouse) 
    {
        this.hasHouse = hasHouse;
    }

    public Integer getHasHouse() 
    {
        return hasHouse;
    }

    public void setHasCar(Integer hasCar) 
    {
        this.hasCar = hasCar;
    }

    public Integer getHasCar() 
    {
        return hasCar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("idNumber", getIdNumber())
            .append("age", getAge())
            .append("gender", getGender())
            .append("annualIncome", getAnnualIncome())
            .append("county", getCounty())
            .append("jobType", getJobType())
            .append("education", getEducation())
            .append("hasHouse", getHasHouse())
            .append("hasCar", getHasCar())
            .append("createTime", getCreateTime())
            .toString();
    }
}
